package com.bxshey.happyTown.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2024-01-03 22:42:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    //id
    @TableId
    private Integer id;
    //用户微信唯一标识openid
    @TableField(value = "openid")
    private String openid;
    //用户名
    private String username;
    //积分
    private Integer integral;
    //创建时间
    private Date createTime;
    //头像
    private String avatar;
}
